package com.ruoyi.cms.mapper;/**
 * @author :
 * @date : 2024-07-22 15:34
 * @description :
 **/

import com.ruoyi.cms.domain.TbUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @description: TODO
 * @author: 杜晓南
 * @date: 2024/7/22 15:34
 * @version: 1.0
 */
@Mapper
public interface UserMapper {


    @Select("select * from tb_user where username=#{account} or phone=#{account} or email=#{account}")
    TbUser findUser(TbUser user);
}
